package PRUEBAS;
import java.math.BigDecimal;


public class BigDecimalTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

//		BigDecimal n1 = new BigDecimal(0);
//		
//		BigDecimal n2 = new BigDecimal(0).setScale(5);
//		
//		BigDecimal n3 = BigDecimal.ZERO;
//		BigDecimal n4 = new BigDecimal(0.222);
//		BigDecimal n5 = new BigDecimal(68.2);
//		
//		System.out.println( n1 + " , " + n2 + " , " + n3 );
//		System.out.println( n1.toPlainString() + " , " + n2.toPlainString() + " , " + n3.toPlainString() );
//		System.out.println( n1.toEngineeringString() + " , " + n2.toEngineeringString() + " , " + n3.toEngineeringString() );
//		
//		System.out.println( n4.toString() + " , " + n4.toPlainString() + " , " + n4.toEngineeringString() );
//		System.out.println( n5.toString() + " , " + n5.toPlainString() + " , " + n5.toEngineeringString() );
//		
//		System.out.println( n1.equals( n3 ) + " , " + n2.equals( n3 ) + " , " + n4.equals( n3 ) );
//		System.out.println( n1.compareTo( n3 ) + " , " + n2.compareTo( n3 ) + " , " + n4.compareTo( n3 ) );
		
		BigDecimal zero = BigDecimal.ZERO;
		System.out.println( zero );
		System.out.println( zero.movePointLeft( 2 ) );
		System.out.println( zero.movePointRight( 2 ) );
	}
}